import React from 'react'
import './index.scss'

const LoadingPage = (props) => {
	if (!props.isLoading) return null
	return (
		<div className="err-wrap loading">
			<div className="err-panel">
				<p className="err-msg">活动正在为你开启，客官别急</p>
				<p className="loading-icon" />
			</div>
		</div>
	)
}

export default LoadingPage
